

.buttons {
  @extend .btn;
  @include fpp-btn-outline-variant($black);
  .fppTableContents &{
    padding-top: $btn-padding-y-sm;
    padding-bottom: $btn-padding-y-sm;
    body.has-touch &{
        padding-top: $btn-padding-y;
        padding-bottom: $btn-padding-y;
    }
  }
}

.btn-lg {
  font-size: $font-size-lg * 0.9;
}
.pageContent .btn-success, .btn-success{
  @include fpp-btn-variant($success,$success);
}
.pageContent .btn-pleasant, .btn-pleasant{
  @include fpp-btn-variant($pleasant,$pleasant);
}
.pageContent .btn-detract, .btn-detract{
  @include fpp-btn-variant($detract,$detract,$white);
}
.pageContent .btn-warning, .btn-warning{
  @include fpp-btn-variant($warning,$warning,$black);
}
.pageContent .btn-graceful, .btn-graceful{
  @include fpp-btn-variant($graceful,$graceful);
}
.pageContent .btn-danger, .btn-danger{
  @include fpp-btn-variant($danger,$danger);
}
.pageContent .btn-outline-light, .btn-outline-light{
  @include fpp-btn-outline-variant($white,$black);
}
.pageContent .btn-outline-success, .btn-outline-success{
  @include fpp-btn-outline-variant($success,$white);
}
.pageContent .btn-outline-danger, .btn-outline-danger{
  @include fpp-btn-outline-variant($danger,$white);
}
.btn-rounded, .disableButtons.btn-rounded,.btn-rounded, .disableButtons.btn-rounded{
  border-radius: 1.5em;
  border-radius:1.5em;
margin-right: 0.2em;
}
.btn-rounded.btn-lg{
  padding-left: 1.5em;
  padding-right: 1.5em;
  font-weight: bold;
}

  .btn-icon-add{
    &:before{
      content:'';
      display: inline-block;
      background: img('icon-plus-white.svg') no-repeat;
      vertical-align: middle;
    }
    &.btn-lg{
      &:before{
        width: 22px;
        height: 22px;
      }
    }
  }


  .btn-icon-edit{
    &:before{
      content:'';
      display: inline-block;
      background: img('create-24px-white.svg') no-repeat;
      vertical-align: middle;
    }
    &.btn-lg{
      &:before{
        width: 50px;
        height: 50px;
      }
    }
  }

  .circularButton {
    background-color: $green;
    border-radius:21px;
    color:$green;
    appearance: none;
    border:none;
    width: 35px;
    height: 35px;
    position: relative;
    overflow: hidden;
    margin-top: -6px;
    margin-bottom: -6px;
    box-shadow: 3px 3px 5px rgba($black,0.2);
    transition: 0.3s all cubic-bezier(.08,.78,.36,.95);
    transform: scale(0.5);
    opacity: 0;
    &:before{
      content:'';
      display: block;
      width: 35px;
      height: 35px;
      position: absolute;
      top: 0;
      left: 0;
      background-size: 24px;
      vertical-align: middle;
      background-repeat: no-repeat;
      background-position: center;
    } 
  }
  .circularButton-visible{
    transform: scale(1);
    opacity: 1;
  }
  .circularButton-sm{
    width: 28px;
    height: 28px;
    &:before{
      width: 28px;
      height: 28px; 
    }
  }
  .circularEditButton{
    background-color: $yellow;
    color:$yellow;
    &:before{
      background-image: img('create-24px-white.svg');
    }    
  }
  .circularAddButton{
    &:before{
      background-image: img('icon-plus-white-14px.svg');
    }
    &.circularButton-sm{
      &:before{
        background-size: 16px;
      }
    }
  }
  .circularDeleteButton{
    background-color: $danger;
    color:$danger;
    &:before{
      background-image: img('icon-trash.svg');
      background-size: 14px;
    }
    &.circularButton-sm{
      &:before{
        background-size: 12px;
      }
    }
  }
  .playlistRow:hover, .playlistEditorHeaderTitleWrapper:hover, .fppSelectableRowTable tr:hover {
    .circularButton{
      transform: scale(1);
      opacity: 1;
      &:hover{
        transform: scale(1.1);
      }
    }
  }
.dropdown-menu .buttons,.dropdown-menu .disableButtons{
  width: 100%;
  margin-bottom: 0.2em;
  &:last-child{
    margin-bottom: 0;
  }
}